package org.example.judge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.example.judge_pojo.Problem;

public interface ProblemMapper extends BaseMapper<Problem> {

    @Select("SELECT max(code) FROM `tb_problem`")
    Integer getMaxCode();
}
